<!--主页引导栏-->
<head th:fragment="header">
    <!-- 必要的标签 -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <!-- Bootstrap CSS -->
    <link crossorigin="anonymous" integrity="sha512-6KY5s6UI5J7SVYuZB4S/CZMyPylqyyNZco376NM2Z8Sb8OxEdp02e1jkKk/wZxIEmjQ6DRCEBhni+gpr9c4tvA==" href="https://lib.baomitu.com/twitter-bootstrap/5.1.1/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" th:href="@{/css/style.css}">

</head>

<nav th:fragment="navbar" class="navbar navbar-expand-lg navbar-dark layouts">
    <div class="container">
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo03" aria-controls="navbarTogglerDemo03" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
    </button>
        <a class="navbar-brand" href="#" style="color: darkblue">
            <img src="https://s4.ax1x.com/2021/12/16/T9rxje.jpg" width="40" height="40" class="d-inline-block align-top" alt="" style="border-radius:50%">欢嘻嘻
        </a>

        <div class="collapse navbar-collapse" id="navbarTogglerDemo03">
            <ul class="navbar-nav mr-auto mt-2 mt-lg-0">
                <li class="nav-item active">
                    <a class="nav-link" th:href="@{/}">主页 </a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" th:href="@{/projects}">动漫</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" th:href="@{/countries}">国家</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" th:href="@{/classifications}">分类</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" th:href="@{/authors}">作者</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" th:href="@{/comments}">评论</a>
                </li>
            </ul>
        </div>
    </div>
    <div>
        <form class="form-inline my-2 my-lg-0">
            <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search" >
            <button class="btn btn-outline-success my-2 my-sm-0" type="submit">搜索</button>
        </form>
    </div>
</nav>
